const durationTrans = (a) => {
    let b = "";
    let h = parseInt(a / 3600);
    let m = parseInt((a % 3600) / 60);
    let s = parseInt((a % 3600) % 60);
    if (h > 0) {
        h = h < 10 ? "0" + h : h;
        b += h + ":";
    }
    m = m < 10 ? "0" + m : m;
    s = s < 10 ? "0" + s : s;
    b += m + ":" + s;
    return b;
};

export { durationTrans };